<%@page pageEncoding="UTF-8" isELIgnored="false" session="true"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>

<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<link href="http://fonts.googleapis.com/css?family=Yanone+Kaffeesatz" rel="stylesheet" type="text/css" />
		<link href="<%= request.getContextPath() %>/css/basic.css" rel="stylesheet" type="text/css">
		<link href="<%= request.getContextPath() %>/css/exvalidation.css" rel="stylesheet" type="text/css">
		<script src="http://www.google.com/jsapi"></script>
		<script>
			google.load("jquery", "1.7.1");
		</script>
		<script type="text/javascript" src="<%= request.getContextPath() %>/js/exvalidation.js"></script>
		<script type="text/javascript" src="<%= request.getContextPath() %>/js/exchecker-ja.js"></script>
		<script>
			$(document).ready(function(){
				$("#event").validation();
			});
		</script>
		<title>新規イベント作成</title>
	</head>
	<body>
		<form id="event" action="create" method="POST">
			<h1>Create New Event</h1>
			<fieldset id="event-details" style="float:left;width:230px;">
				<label for="name">イベント名<span id="caution">(※)</span></label>
				<input type="text" id="name" name="name" value="" class="chkrequired"/>

				<label for="day1">予定日1<span id="caution">(※)</span></label>
				<input type="text" id="day1" name="day1" value="" class="chkrequired"/>
				<label for="day2">予定日2</label>
				<input type="text" name="day2" value=""/>
				<label for="day3">予定日3</label>
				<input type="text" name="day3" value=""/>
				<label for="day4">予定日4</label>
				<input type="text" name="day4" value=""/>
				<label for="day5">予定日5</label>
				<input type="text" name="day5" value=""/>
			</fieldset>
			<fieldset id="event-resume" style="float:right;width:405px;">
				<label for="resume">詳細<span id="caution">(※)</span></label>
				<textarea id="resume" name="resume" rows="0" cols="0" class="chkrequired"></textarea>

				<input type="submit" value="登録" name="submit" class="submit"/>
			</fieldset>
			<input type="hidden" name="token" value=<c:out value="${token}" />>
		</form>
	</body>
</html>